//
//  ClassificationTableViewCell.m
//  项目
//
//  Created by 焦钟培 on 14-12-29.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "ClassificationTableViewCell.h"

@implementation ClassificationTableViewCell
- (void)dealloc
{
    [_rightImage release];
    [_image release];
    [_label release];
    [super dealloc];
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.frame = [[UIScreen mainScreen] bounds];
        self.image = [[[UIImageView alloc] initWithFrame:CGRectMake(125, 15, 30, 30)] autorelease];
        [self.contentView addSubview:_image];
        self.label = [[[UILabel alloc] initWithFrame:CGRectMake(170, 15, 60, 30)] autorelease];
        _label.font = [UIFont systemFontOfSize:20];
        [self.contentView addSubview:_label];
        self.rightImage = [[[UIImageView alloc] initWithFrame:CGRectMake(self.frame.size.width - 40, 10, 30, 30)] autorelease];
        [self.contentView addSubview:_rightImage];
        
    }
    return self;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
